package com.scau.database.entity.storemanager;

public class ExchangeDTO {
    private String barCode;
    private Integer count;
    private Integer type; // 保修方式
    //    private Integer finishied; // 状态
    private Long dealId; // 退货流水号

    private Integer serviceId; // 售后点ID
    private String serviceName; // 售后点名
    private Integer canResell; // 可再次销售
    private Integer factoryId;
    private String factoryName;
    private Long factoryExchangeId; // 如果是返厂维修，记录对应返厂单的ID
    private Integer finished; // 处理状态
    private Integer shopId; // 购买的商店

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getFinished() {
        return finished;
    }

    public void setFinished(Integer finished) {
        this.finished = finished;
    }

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getDealId() {
        return dealId;
    }

    public void setDealId(Long dealId) {
        this.dealId = dealId;
    }

    public Integer getServiceId() {
        return serviceId;
    }

    public void setServiceId(Integer serviceId) {
        this.serviceId = serviceId;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public Integer getCanResell() {
        return canResell;
    }

    public void setCanResell(Integer canResell) {
        this.canResell = canResell;
    }

    public Integer getFactoryId() {
        return factoryId;
    }

    public void setFactoryId(Integer factoryId) {
        this.factoryId = factoryId;
    }

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName;
    }

    public Long getFactoryExchangeId() {
        return factoryExchangeId;
    }

    public void setFactoryExchangeId(Long factoryExchangeId) {
        this.factoryExchangeId = factoryExchangeId;
    }

    @Override
    public String toString() {
        return "ExchangeDTO{" +
                "barCode='" + barCode + '\'' +
                ", count=" + count +
                ", type=" + type +
                ", dealId=" + dealId +
                ", serviceId=" + serviceId +
                ", serviceName='" + serviceName + '\'' +
                ", canResell=" + canResell +
                ", factoryId=" + factoryId +
                ", factoryName='" + factoryName + '\'' +
                ", factoryExchangeId=" + factoryExchangeId +
                ", finished=" + finished +
                ", shopId=" + shopId +
                '}';
    }
}
